.ys_navph2_menu {
    line-height: 64px;
    margin-left: 15px;
    display: none;
}
.ys_navph2_menu_btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 22px;
    cursor: pointer;
}
.ys_navph2_menu_line,
.ys_navph2_menu_line::before,
.ys_navph2_menu_line::after {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all .36s;
}
.index_head .ys_navph2_menu_line,
.index_head .ys_navph2_menu_line::before,
.index_head .ys_navph2_menu_line::after {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: all .36s;
}
.ys_navph2_menu_line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.ys_navph2_menu_line::before {
    content: "";
    position: absolute;
    top: 10px;
}
.ys_navph2_menu_line::after {
    content: "";
    position: absolute;
    top: -10px;
}

.ys_navph2_list {
    position: absolute;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px 0 50px;
    background: linear-gradient(to bottom, #e80010, #cb1a26);
    color: #fff;
    overflow: hidden;
    left: 100%;
    transition: all .5s ease-out;
    opacity: 0;
}
.ys_navph2_list.act {
    left: 0;
    opacity: 1;
}
.ys_navph2_subnav {
    padding: 0 20px;
    height: 100%;
    overflow: auto;
}
.ys_navph2_subnav li>div {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.ys_navph2_subnav a {
    line-height: 24px;
    padding: 13px 0;
    color: rgba(255, 255, 255, .7);
    display: inline-block;
}
.ys_navph2_subnav_a {
    font-size: 16px;
}
.ys_navph2_nav_icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
}
.ys_navph2_nav_icon::before {
    transform: rotate(90deg);
}
.ys_navph2_nav_icon::before,
.ys_navph2_nav_icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -1px;
    width: 2px;
    height: 100%;
    background: #fff;
    transition: all .36s;
}
.ys_navph2_subnav ul {
    display: none;
    padding-left: 15px;
}
.ys_navph2_thirnav_a {
    font-size: 14px;
}
.ys_navph2_thirnav a {
    padding: 8px 0;
}
.ys_navph2_nav_icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    cursor: pointer;
}
.ys_navph2_subnav ul {
    display: none;
    padding-left: 15px;
}
.ys_navph2_fournav_li {
    font-size: 12px;
}
.ys_navph2_lang {
    position: absolute;
    left: 0;
    bottom: 60px;
    width: 100%;
    text-align: center;
}
.ys_navph2_lang_btn {
    display: inline-block;
    padding: 15px;
    cursor: pointer;
}
.ys_navph2_lang_btn img {
    width: 20px;
}
.ys_navph2_lang_modal {
    transform: translateX(100%);
    transition: all .5s ease-out;
}
.ys_navph2_lang_modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    padding: 84px 0 20px;
}
.ys_navph2_lang_back {
    font-size: 16px;
    margin-bottom: 10px;
}
.ys_navph2_lang_back {
    padding: 0 15px;
    cursor: pointer;
}
.ys_navph2_subnav {
    padding: 0 20px;
    height: 100%;
    overflow: auto;
}
.ys_navph2_search_btn {
    width: 20px;
    cursor: pointer;
}
.modal-open {
    overflow: hidden;
}
.ys_navph2_menu_btn.act .ys_navph2_menu_line {
    background: transparent;
}
.ys_navph2_menu_btn.act .ys_navph2_menu_line::before {
    top: 0;
    transform: rotate(45deg);
}
.ys_navph2_menu_btn.act .ys_navph2_menu_line::after {
    top: 0;
    transform: rotate(-45deg);
}
.ys_navph2_nav_icon::before {
    transform: rotate(90deg);
}
.ys_navph2_subnav li.act>div .ys_navph2_nav_icon::after {
    transform: rotate(90deg);
}
.ys_navph2_lang_modal.act {
    transform: translateX(0);
}
.ys_navph2_subnav_a.yxnav_active1,
.ys_navph2_thirnav_a.yxnav_active2,
.ys_navph2_fournav_a.yxnav_active3 {
    color: rgba(255, 255, 255, 1);
}


.nav3{
    display: none;
    float: right;
}
.nav3 a{
    color: #333;
    display: block;
    line-height: 40px;
    padding:0 12px;
    font-size: 15px;
}
.index_head.on a{
    color: #fff;
}

@media(max-width: 768px){
    .ys_navph2_menu{
        display: block;
        line-height: 40px;
    }
    .ys_navph2_list{
        top:60px;
        height: calc(100vh - 60px);
    }
    .ys_navph2_list a{
        color: #fff;
    }
}
@media(max-width: 768px){
/*    .ys_navph2_menu{
        line-height: 80px;
    }*/
/*    .ys_navph2_list {
        top: 100px;
        height: calc(100% - 100px);
    }*/
/*    .nav3{
        display: flex;
    } */  
/*    .ys_navph2_menu{
        margin-top:5px;
    }*/
}
@media(max-width: 640px){
/*    .ys_navph2_menu{
        line-height: 36px;
    }*/
    .ys_navph2_list {
        top: 60px;
        height: calc(100vh - 60px);
    }
}
